﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace myomscl.Interfaces
{
    #region delegate
    public delegate void OnNewAlertViewLoad();
    public delegate void OnNewAlertViewSave(Int32 status);    
    public delegate void OnNewAlertDelete();

    #endregion

    public interface INewAlertView : IView
    {
        #region properties
        Int32? Id { get; }
        DataTable MunicipalityList { set; }
        Int32? Municipality { set; get; }
        IDictionary<int, string> AlertTypeList { set; }
        Int32 AlertType { set; get; }
        IDictionary<int, string> ActivityTypeList { set; }
        Int32 ActivityType { set; get; }
        DataTable PersonList { set; }
        Int32 Person { get; set; }
        DataTable Locations { set; }
        String Location { get; set; }
        DateTime EstimateStartDate { get; set; }
        DateTime EstimateEndDate { get; set; }
        String TrafficComments { get; set; }
        Boolean HasTrafficProblems { get; set; }
        Int32 AlertArea { get; set; }
        String CenterCoordinates { get; set; }
        String AreaCoordinates { get; set; }
        String LocationDescription { get; set; }
        Boolean IsMarker { get; set; }
        #endregion

        #region events
        event OnNewAlertViewLoad OnNewAlertLoad;
        event OnNewAlertViewSave OnNewAlertSave;
        event OnNewAlertDelete DeleteAlert;

        #endregion

    }
}

